import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
* 获取 OrrDeviceOperatorStatus 分页列表
*/
export function getOrrDeviceOperatorStatusPagination(data: any) {
    return axios.get(`${context}/orrDeviceOperatorStatus/pagination`, { params: data });
}


/**
* 获取 OrrDeviceOperatorStatus 所有数据
*/
export function getOrrDeviceOperatorStatusAllList(data: any) {
    return axios.get(`${context}/orrDeviceOperatorStatus/allList`, { params: data });
}


/**
* 获取 OrrDeviceOperatorStatus 详情
*/
export function getOrrDeviceOperatorStatusDetailById(id: any) {
    return axios.get(`${context}/orrDeviceOperatorStatus/${id}`, { params:{id} });
}


/**
* 新增 OrrDeviceOperatorStatus
*/
export function addOrrDeviceOperatorStatus(data: any) {
    return axios.post(`${context}/orrDeviceOperatorStatus`, data);
}

/**
* 修改 OrrDeviceOperatorStatus
*/
export function updateOrrDeviceOperatorStatus(data: any) {
    return axios.put(`${context}/orrDeviceOperatorStatus`, data);
}

/**
* 删除 OrrDeviceOperatorStatus
*/
export function batchRemoveOrrDeviceOperatorStatus(data: any) {
        return axios.post(`${context}/orrDeviceOperatorStatus/batchRemove`, data);
}
